start
Starts the Engine. After this invocation all the APIs can be used. The opposite of this method is stop. Note that other than userId we also use the android.provider.Settings.Secure.ANDROID_ID for better data accuracy. You should include it in the Data safety form of your application when uploading it to the Play Store.
Return
true if Engine just started, false if it was already running.
Parameters
the license to activate the Engine with. Can be empty for evaluation mode with watermark.
an optional unique ID tied to your application's user. This helps us accurately calculate monthly active users (MAU). Especially useful when one person uses the app on multiple devices with a sign-in feature, ensuring they're counted once. Providing this aids in better data accuracy.
the android component (i.e. activity, fragment) that can save current scene when app is terminated and restore when app is recovered. If scene was saved prior to this call, this method will also recover the scene. Note that the parameter is optional, however, it is highly recommended that you provide. SavedStateRegistryOwner interface can be accessed directly as AppCompatActivity and androidx.Fragment (they implement it) or via LocalSavedStateRegistryOwner in Jetpack Compose.